package com.river.springbootdemo.thinkingjava.arrays;

import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("unchecked")
public class ArrayOfGenraics {
    public static void main(String[] args) {
        List<String>[] ls;
        List[] la=new List[10];
        ls=(List<String>[])la;//unchecked worning
        ls[1]= new ArrayList<>();

//        List<String>[] ls1=new List<String>[10];
    }
}
